package com.hanliukui.ai.langchain4j.assistant.xiaozhi.business;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface AppointmentRepository extends JpaRepository<AppointmentPo, Long> {

    List<AppointmentPo> findByIdCard(String idCard);

    AppointmentPo findByIdCardAndDepartmentAndDateAndTime(String idCard, String department, String date, String time);
}
